package com.ddwl.shop.dao.model;

import com.ddwl.common.dao.model.BaseModel;
import com.ddwl.schema.bo.base.BaseBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;
import java.time.Instant;

/**
 * 店铺
 * @author wenbin
 * @version 1.0.0
 */
@Setter
@Getter
@Table(name = "sys_shop_user_record")
public class ShopUserRecord extends BaseModel {

    /**
     * 门店ID
     */
    private String shopId;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 登陆时间
     */
    private Instant loginTime;
    /**
     * 最后浏览页面
     */
    private String lastUrl;
    /**
     * 用户名字
     */
    private String userName;
    /**
     * 头像
     */
    private String avatar;
}
